var base_url=window.location.search;

var loginID;
if(window.location.search) {
    var temps = window.location.search.split("?");
    if (temps[1]) {
        temps = temps[1].split("=");
        loginID = temps[1];
    }
}

console.log("search:",window.location.search);
console.log("href:",window.location.href);
console.log("pathname:",window.location.pathname);
console.log("loginID:",loginID);

var web_api_sys_info_time = "/OpenSwitch.cgi?method=get&func=sys_info_time&loginID=" + loginID;
